package com.ruoyi.customerSample.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
import java.util.List;

/**
 * 样品流转记录对象 sample_circulation_bill
 * 
 * @author ruoyi
 * @date 2023-05-05
 */
@ApiModel("样品流转记录对象")
public class SampleCirculationBill extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 样品流转id */
    private String id;

    /** 样品溯源id */
    @ApiModelProperty(value = "样品溯源id")
    private String sid;

    /** 项目编号 */
    @Excel(name = "项目编号")
    @ApiModelProperty(value = "项目编号")
    private String itemNum;

    /** 领样人 */
    @Excel(name = "领样人")
    @ApiModelProperty(value = "领样人")
    private String sampler;

    /** 领样管理员 */
    @Excel(name = "领样管理员")
    @ApiModelProperty(value = "领样管理员")
    private String sampleAdmin;

    /** 领样时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "领样时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "领样时间")
    private Date sampleTime;

    /** 制样人 */
    @Excel(name = "制样人")
    @ApiModelProperty(value = "制样人")
    private String preparer;

    /** 制样时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "制样时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "制样时间")
    private Date prepareTime;

    /** 检测员 */
    @Excel(name = "检测员")
    @ApiModelProperty(value = "检测员")
    private String tester;

    /** 检测地点 */
    @Excel(name = "检测地点")
    @ApiModelProperty(value = "检测地点")
    private String testPlace;

    /** 检测日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检测日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "检测日期")
    private Date testTime;

    /** 交样人 */
    @Excel(name = "交样人")
    @ApiModelProperty(value = "交样人")
    private String suber;

    /** 交样管理员 */
    @Excel(name = "交样管理员")
    @ApiModelProperty(value = "交样管理员")
    private String suberAdmin;

    /** 交样时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交样时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "交样时间")
    private Date suberTime;

    /** 状态 */
    @Excel(name = "状态")
    @ApiModelProperty(value = "状态")
    private String state;

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    /** 详情单据 */
    private List<SampleCirculationDetail> list;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setItemNum(String itemNum) 
    {
        this.itemNum = itemNum;
    }

    public String getItemNum() 
    {
        return itemNum;
    }
    public void setSampler(String sampler) 
    {
        this.sampler = sampler;
    }

    public String getSampler() 
    {
        return sampler;
    }
    public void setSampleAdmin(String sampleAdmin) 
    {
        this.sampleAdmin = sampleAdmin;
    }

    public String getSampleAdmin() 
    {
        return sampleAdmin;
    }
    public void setSampleTime(Date sampleTime) 
    {
        this.sampleTime = sampleTime;
    }

    public Date getSampleTime() 
    {
        return sampleTime;
    }
    public void setPreparer(String preparer) 
    {
        this.preparer = preparer;
    }

    public String getPreparer() 
    {
        return preparer;
    }
    public void setPrepareTime(Date prepareTime) 
    {
        this.prepareTime = prepareTime;
    }

    public Date getPrepareTime() 
    {
        return prepareTime;
    }
    public void setTester(String tester) 
    {
        this.tester = tester;
    }

    public String getTester() 
    {
        return tester;
    }
    public void setTestPlace(String testPlace) 
    {
        this.testPlace = testPlace;
    }

    public String getTestPlace() 
    {
        return testPlace;
    }
    public void setTestTime(Date testTime) 
    {
        this.testTime = testTime;
    }

    public Date getTestTime() 
    {
        return testTime;
    }
    public void setSuber(String suber) 
    {
        this.suber = suber;
    }

    public String getSuber() 
    {
        return suber;
    }
    public void setSuberAdmin(String suberAdmin) 
    {
        this.suberAdmin = suberAdmin;
    }

    public String getSuberAdmin() 
    {
        return suberAdmin;
    }
    public void setSuberTime(Date suberTime) 
    {
        this.suberTime = suberTime;
    }

    public Date getSuberTime() 
    {
        return suberTime;
    }

    public List<SampleCirculationDetail> getList() {
        return list;
    }

    public void setList(List<SampleCirculationDetail> list) {
        this.list = list;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("itemNum", getItemNum())
            .append("sampler", getSampler())
            .append("sampleAdmin", getSampleAdmin())
            .append("sampleTime", getSampleTime())
            .append("preparer", getPreparer())
            .append("prepareTime", getPrepareTime())
            .append("tester", getTester())
            .append("testPlace", getTestPlace())
            .append("testTime", getTestTime())
            .append("suber", getSuber())
            .append("suberAdmin", getSuberAdmin())
            .append("suberTime", getSuberTime())
            .toString();
    }
}
